package com.qiwo.webshow.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2018-10-23 21:08:13
 * 政府采购图片类型管理
 * </pre>
 * <small> 2018-10-23 21:08:13 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_gover_type")
@EqualsAndHashCode(callSuper=true) 
public class GoverTypeDO  extends Model< GoverTypeDO> implements Serializable {
	@TableId
	private Long id;

    /** 类型名称 */
    @ApiModelProperty("类型名称")
    @TableField("name")
    private String name;


    private  Integer sort;

        @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
